package com.lft.gulimall.member.service.impl;

import org.springframework.stereotype.Service;

import java.util.Map;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lft.common.utils.PageUtils;
import com.lft.common.utils.Query;

import com.lft.gulimall.member.dao.MemberCollectSubjectDao;
import com.lft.gulimall.member.entity.MemberCollectSubjectEntity;
import com.lft.gulimall.member.service.MemberCollectSubjectService;

@Service ("memberCollectSubjectService")
public class MemberCollectSubjectServiceImpl extends ServiceImpl<MemberCollectSubjectDao, MemberCollectSubjectEntity> implements MemberCollectSubjectService {
	
	@Override
	public PageUtils queryPage(Map<String, Object> params) {
		IPage<MemberCollectSubjectEntity> page = this.page(
				new Query<MemberCollectSubjectEntity>().getPage(params),
				new QueryWrapper<MemberCollectSubjectEntity>()
		);
		
		return new PageUtils(page);
	}
	
}